import { defineStore } from 'pinia'

export const openState = defineStore({
  id: 'openState',
  state: () => ({
    openState: true
  }),
  getters: {
    getState: () => state.openState
  },
  actions: {
    change() {
      !this.openState
    }
  }
})
